﻿using System;
using System.Collections.Generic;
using System.Text;

namespace gt.dotnetcore.webapi.extension.Entity
{
    public class ApiLogEntity
    {
        public ApiLogEntity()
        {
            CreateTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
        }
        public string RequestId { get; set; }

        public string RequestUrl { get; set; }
        public string QueryString { get; set; }

        public string HttpMethod { get; set; }

        public string ClientIp { get; set; }

        public string ServerIp { get; set; }

        public int StatusCode { get; set; }

        //public string Host { get; set; }

        public string Appkey { get; set; }

        public string Request { get; set; }

        public string Response { get; set; }

        public string CreateTime { get; set; }

        public double Duration { get; set; }
    }
}
